import { getRequest, postRequest } from '@/lib/axios';

export const ocrPerformanceApi = {
  // 获取OCR性能统计信息
  getPerformanceStats: () => {
    return getRequest('/business/pdf/performance/stats');
  },

  // 重置性能统计信息
  resetStats: () => {
    return postRequest('/business/pdf/performance/reset');
  },

  // 获取内存使用情况
  getMemoryUsage: () => {
    return getRequest('/business/pdf/performance/memory');
  },
}; 